﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AutoUpdate.Model.Model.fileTransfer
{
    using MongoDB.Bson;
    using System.IO;

    public class fs_inode
    {
        //public ObjectId _id { set; get; } = ObjectId.Empty;

        public string name { set; get; } = string.Empty;

        public string extendName { set; get; } = string.Empty;

        public string relativePath { set; get; } = string.Empty;

        public string realPath { set; get; } = string.Empty;

        public inodeType type { set; get; } = inodeType.File;

        public long length { set; get; } = 0;

        public string md5 { set; get; } = string.Empty;

        
    }

    public enum inodeType
    {
        File,
        Directory
    }
}
